package com.kaibes.orm.spring.jdbc;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Component;

import com.kaibes.orm.core.core.ObjectStringConverter;
import com.kaibes.orm.core.dialect.MySqlDialect;

@Conditional(value = MySqlCondition.class)
@Component
public class MySqlDialectImpl extends MySqlDialect {

    public MySqlDialectImpl(@Value("${kaibes.core.db.prefix:}") String tableNamePrefix,
            ObjectStringConverter objectStringConverter) {
        super(tableNamePrefix, objectStringConverter);
    }

}
